package com.sora.sora.security.login.mapper;

import com.sora.sora.common.model.entity.UserEntity;
import com.sora.sora.security.login.model.param.RegisterParam;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegisterMapper {

    String emailExist(String email);

    String nameExist(String name);

    int register(UserEntity entity);

    int queryIdByName(String name);
}
